<template>
    <div class="editPannelContainer">
        <div v-for="(item, key) in com.status" :key="item.id" class="mb-20">
            <component v-if="item.isShow" :is="item.editCom" :config-key="key" v-bind="item"></component>
        </div>
    </div>
</template>

<script setup lang="ts">
    import { onMounted } from "vue";
    import type { Status } from '@/types';
    import type { VueComType } from "@/types";

    const props = defineProps<{
        com: Status
    }>();

    onMounted(()=> {

    });
</script>

<style scoped lang="scss">
    .editPannelContainer {
        padding: 30px;
        background: var(--bg-color);
    }
</style>
